file(   GLOB_RECURSE
        source_cpp
        dbus/DbusZappyServer.cpp
        main.cpp
        ZappyServer.cpp)

file(   GLOB_RECURSE
        source_moc
        dbus/DbusZappyServer.h
        ZappyServer.h)

QT4_WRAP_CPP(moc_cxx ${source_moc})

add_executable(zappyServer ${source_cpp} ${moc_cxx})

target_link_libraries(zappyServer ${QT_QT_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTNETWORK_LIBRARY})